package com.zn.opit.shirodemo.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author zhinian
 * @since 2024-02-25
 */
@Getter
@Setter
@TableName("sys_user")
@ApiModel(value = "SysUserEntity对象", description = "用户表")
public class SysUserEntity implements Serializable {

    @ApiModelProperty("用户名")
    private String userId;

    @ApiModelProperty("用户名-英")
    private String nameEn;

    @ApiModelProperty("用户名-中")
    private String nameCn;

    @ApiModelProperty("真实姓名拼音")
    private String pinYin;

    @ApiModelProperty("工号")
    private String jobNumber;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("手机号码")
    private String phoneNumber;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("性别;0-未知;1-男;2-女;3-未知")
    private Integer sex;

    @ApiModelProperty("状态:0-未启用;1-启用;2-禁用;3-注销;4-删除")
    private Integer status;

    @ApiModelProperty("排序号")
    private Integer sortNumber;

    @ApiModelProperty("出生日期")
    private LocalDate birthDate;

    @ApiModelProperty("入职日期")
    private LocalDate entryDate;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("修改人")
    private String updateUser;

    @ApiModelProperty("修改时间")
    private LocalDateTime updateTime;


}
